AI034
The Rust Programming Language
Modules, Packages, and Crates
Learning Objectives
- Distinguish between packages, crates, and modules
- Construct a hierarchical module tree and manage filesystem-based modules
- Control item visibility and encapsulation using the pub keyword
- Manage external dependencies and imports using Cargo and the use keyword